﻿using Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IService
{
    public interface IWhOutboundDetailService
    {
        /// <summary>
        /// 根据出库单ID获取明细项
        /// </summary>
        /// <param name="stockOutOrderId"></param>
        /// <returns></returns>
        Task<List<StockOutItemDto>> GetDetailsByOrderId(long stockOutOrderId);
        /// <summary>
        /// 新增
        /// </summary>
        /// <param name="data">实体</param>
        /// <returns>结果</returns>
        Task<int> CreateAsync(WhOutboundDetail data);
        /// <summary>
        /// 根据ID查询
        /// </summary>
        /// <param name="Id">ID</param>
        /// <returns>用户列表</returns>
        Task<WhOutboundDetail> GetByIdAsync(long Id);
    }
}
